/*
 * DataStream.java
 *
 * Created on Antradienis, 2006, Spalio 3, 09.24
 *
 */

package org.mif.mobp.core;

/** Klase skaito is InputStream'o, ir formuoja tam tikru duomenis.
 * 
 */
abstract public class DataStream {
    
    /** Stream'as ish kurio skaitysim. */
    protected java.io.InputStream is;
    
    /** Creates a new instance of DataStream */
    public DataStream() {
    }
    
    public DataStream(java.io.InputStream _is) {
        is = _is;
    }
    
    /** Metodas grazina duomenis.
     * GPS atveju tai gali buti tiesiug eilute, GSM atveju keleta eiluciu
     */
    abstract public String getData ();
    
}
